package cn.jingyuan.swan.system.domain.gateway.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import cn.jingyuan.swan.cloud.dao.CrudDao;
import cn.jingyuan.swan.system.domain.gateway.entity.GatewayRoute;

import java.util.List;

public interface GatewayRouteDao extends CrudDao<GatewayRoute, Long> {

    GatewayRoute getByRouteName(String routeName);

    List<GatewayRoute> listByQueryWrapper(LambdaQueryWrapper<GatewayRoute> wrapper);

    int countByQueryWrapper(LambdaQueryWrapper<GatewayRoute> wrapper);

}
